package baseline.app.mapper;

import baseline.app.pojo.entity.Project;
import baseline.app.pojo.query.ProjectQuery;
import baseline.app.pojo.vo.ProjectVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author crelle
 * @since 2022-11-09 10:06:28
 */
@Mapper
public interface ProjectMapper extends BaseMapper<Project> {
    List<ProjectVo> manualPage(@Param("param") ProjectQuery projectQuery);

    List<Project> queryByRegionId(@Param("regionId") String regionId);

    List<Project> queryByDepartmentId(@Param("departmentId") String departmentId);
}
